package com.cloudfun.campusshare.service;

import com.cloudfun.campusshare.common.model.dto.DeviceMetaModeDTO;
import com.cloudfun.campusshare.common.model.dto.DeviceMetaModeSearchDTO;
import com.cloudfun.campusshare.common.model.vo.DryerOperateVO;
import com.cloudfun.campusshare.common.model.vo.PulseWasherOperateVO;
import com.cloudfun.campusshare.common.model.vo.RollerWasherOpVO;
import com.cloudfun.campusshare.common.model.vo.ShoeWasherOperateVO;

import java.util.List;
import java.util.Map;

/**
 * Created by Huqin on 2020/4/20
 */
public interface DeviceMetaModeService {

    Map<String, DeviceMetaModeDTO> getDeviceMetaModeMap();

    Map<String, DeviceMetaModeDTO> getDeviceMetaModeMap(String deviceType);

    List<DeviceMetaModeDTO> getDeviceMetaModeMap(DeviceMetaModeSearchDTO searchDTO);

    RollerWasherOpVO metaModeToDeviceControlVO(String id);

    DryerOperateVO metaModeToDryerOperateVO(String id);

    PulseWasherOperateVO metaModeToPulseWasherOperateVO(String id);

    ShoeWasherOperateVO metaModeToShoeWasherOperateVO(String id);

    RollerWasherOpVO metaModeToDeviceControlVO(DeviceMetaModeDTO deviceMetaModeDTO);

    DryerOperateVO metaModeToDryerOperateVO(DeviceMetaModeDTO deviceMetaModeDTO);

    PulseWasherOperateVO metaModeToPulseWasherOperateVO(DeviceMetaModeDTO deviceMetaModeDTO);

    ShoeWasherOperateVO metaModeToShoeWasherOperateVO(DeviceMetaModeDTO deviceMetaModeDTO);

}
